package com.itheima.principles.LiskovSubstitution.after;

/*
 *@ProjectName:design_patterns
 *@Description:正方形类
 */
public class Square implements Quadrilateral {
    
    private double side;
    
    public double getSide() {
        return side;
    }
    
    public void setSide(double side) {
        this.side = side;
    }
    
    public double getLength() {
        return side;
    }
    
    public double getWidth() {
        return side;
    }
}